From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1682710509; bh=ZLIYx/KM7jhF9wt6XubXuSamTFyCdTyYWCyFRJD5sQE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=jSM2Nx+RT0ddgpGNy81wTlvVHb6PQwk8Xzpr2nEUPGEbVBQ5v85v27VBAB4BjujLB 0e+VVdPNZYhbdMDqBr/1h7YFRPW/SOKPEFlRH3qKIUA4jZ+20lK9TaFermAEXczfVx D05z302hUGhaNIWkqTwUDv8dNuwPcCWoS/viql6MH3tCvhCLhCVpSb6GxKE9tIMM1A XrMMYZjj9tU7zH18vufJheTU8/dkFcgCI7h2cthtyuRr79G83B02leoFhPXRVNbYX6 /RYWIe9YBc1hFwrqOMvwbxNe9nL17lBukV3PFIE1xrnLVZdXSxYTm4di17dR8aAlRf v0XftXsf+58NA== Received: from localhost.localdomain (unknown [114.125.26.160]) by gnuweeb.org (Postfix) with ESMTPSA id A46F0245A6A; Sat, 29 Apr 2023 02:35:07 +0700 (WIB) From: Memet Zx To: Ammar Faizi Cc: Memet Zx , GNU/Weeb Mailing List , Memet Zx Subject: [PATCH gwspamd 1/3] gwspamd: web: Refactor Settings Page Layout and UI Date: Sat, 29 Apr 2023 02:34:56 +0700 Message-Id: <20230428193458.366546-2-zxce3@gnuweeb.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230428193458.366546-1-zxce3@gnuweeb.org> References: <20230428193458.366546-1-zxce3@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: The previous layout consisted of a table with a list of settings options, while the new layout includes a sidebar with a list of settings options and a larger content area to display the selected option. The code also includes new CSS classes to style the UI, and the JavaScript functions were updated to handle the new layout. Additionally, the default selected option was changed to "profile" if no section is specified in the URL. Link: https://t.me/GNUWeeb/742183 Link: https://t.me/GNUWeeb/742193 Signed-off-by: Memet Zx --- web/views/pages/settings.php | 42 +++++++++++++++++------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/web/views/pages/settings.php b/web/views/pages/settings.php index e37ebfc..dd52d7a 100644 --- a/web/views/pages/settings.php +++ b/web/views/pages/settings.php @@ -26,50 +26,48 @@ if (isset(SECTIONS[$section])) { } } - -
-

Settings

- - +
+
+
+

Settings

$title) : ?> -
- - + - +
+ +
$title) : ?> - - +
-- Memet Zx